package com.yh.service;

import java.util.List;

import com.yh.bean.Goods;

//商品service
public interface GoodsService {


	public List<Goods> listGoods(Goods goods);//商品展示

	
	public int updateGoodsCount(Goods goods);//商品加入订单后商品数量减1
	
	public void deleteGoods(Goods goods);//商品数量为0时删除商品
	
	public List<Goods> fuzzyQuery(Goods goods);//模糊查询

	

}
